#include "graph.h"
#include "parametros.h"
#include "auxiliares-grasp.h"
#include "parserNuevo.h"

#include <vector>

using namespace std;

void imprimirDijkstra(vector<float> *v){
	cout << "Probando Dijkstra" << endl;
	for(vector<float>::iterator it=v->begin(); it!=v->end(); it++){
		cout << "\t" << *it << endl;
	}
	cout << "Fin camino Dijkstra" << endl;
}

int main(int argc, char** argv) {

	Graph* g = new Graph(10);
	for(int i=0; i<g->getTamanio()-1; i++){
		g->agregarArista(i,i+1,(i*17)%7 +1 );
		if (sorteoTerminal()){
			g->getTerminales()[i]=1;
		}
	}
	vector<float> *d=dijkstra(g,0,8);
        
        imprimirDijkstra(d);

	g->agregarArista(g->getTamanio()-1,0,2.5);

	g->graph_viz();


	return 0;
} 
